package cn.kgc.springcloud.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Group {

  private Integer id;
  private String name;
  @JsonProperty("created_at")
  private Date createDate;
  private String clazzId;

  private Clazz clazz;

}
